package main

import (
	"fmt"
	"github.com/Baidu-AIP/golang-sdk/aip/censor"
)

func main() {
	client := censor.NewClient("ak", "sk")
	//如果是百度云ak sk,使用下面的客户端
	client = censor.NewCloudClient("ak", "sk")

	//视频url路径
	res := client.VideoCensor("视频名字", "视频url", "", nil)
	fmt.Println(res)

}
